﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class RecordRequest
    {
    }

    public class LastRecordSearchRequest 
    {
        /// <summary>
        /// 火灾编号集合
        /// </summary>
        public List<int> FireIds { get; set; }

        /// <summary>
        /// 忽略RecordType类型
        /// </summary>
        public List<int> Types { get; set; }
    }

    public class RecordSearchRequest
    {
        /// <summary>
        /// 火灾编号
        /// </summary>
        public int FireId { get; set; }

        /// <summary>
        /// 忽略RecordType类型
        /// </summary>
        public List<int> Types { get; set; }
    }

    public class RecordConfigSearchRequest
    {
        /// <summary>
        /// 权限等级编号
        /// </summary>
        public int RoleLeveId { get; set; }
        /// <summary>
        /// 处置类型编号
        /// </summary>
        public int RecordType { get; set; }


        /// <summary>
        /// 处置配置表编号 与 PowerId和 RecordType 互斥
        /// </summary>
        public int RecordConfigId { get; set; }
    }



    public class RecordConfigRequest 
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int RecordConfigId { get; set; }

        /// <summary>
        /// 权限等级编号
        /// </summary>
        public int RoleLevelId { get; set; }

        /// <summary>
        /// 处置编号
        /// </summary>
        public int RecordType { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 下一步可选处置流程
        /// </summary>
        public List<int> SubRecordTypes { get; set; }
    }


    public class RecordTypeRoleLevelSearchRequest
    {
        /// <summary>
        /// 权限编号
        /// </summary>
        public int RoleLeveId { get; set; }
    }

}
